﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Top.aspx.cs" Inherits="AlbonWeb.Top" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Albon Online System</title>
    <script src="js/ADS.js" type="text/javascript"></script>
    <script src="js/content.js" type="text/javascript"></script>
    <script src="js/index.js" type="text/javascript"></script>
    <link href="/css/Index.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="top" runat="server">
    <div class="Topbg">
    </div>
    <div class="TopBar">
        <table width="100%" border="0" cellpadding="0" cellspacing="0" height="30">
            <tr>
                <td width="18">
                    &nbsp;
                </td>
                <td width="230">
                    <span class="Bar_state">Welcome <a href="#">
                        <%=HttpContext.Current.User.Identity.Name%></a> to our system!</span>
                </td>
                <td width="350px">
                    <marquee direction="left" onmouseover="this.stop()" onmouseout="this.start()" scrolldelay="50"
                        scrollamount="2">
                    <asp:Repeater ID="repBulletin" runat="server">
                        <ItemTemplate>
                            <a style="margin-left:150px; color:#3366C9;" href='Manager/BulletinManager/BulletinShow.aspx?id=<%#Eval("ID")%>' onclick='return openDialog(this.href,595,600,100)' >
                            <b><%#Eval("title")%>-<%#DateTime.Parse(Eval("createDate").ToString()).ToString("yyyy/MM/dd hh:mm") %></b>
                            
                            </a>    
                        </ItemTemplate>
                    </asp:Repeater>
                  </marquee>
                </td>
                <td>&nbsp;</td>
                <td class="TopBarRbg" align="center">
                    <input type="button" class="home_btn" value="" />
                </td>
                <td class="TopBarRbg" align="center">
                    <input type="button" class="back_btn" value="" />
                </td>
                <td class="TopBarRbg" align="center">
                    <input type="button" class="forward_btn" value="" />
                </td>
                <td class="TopBarRbg" align="center">
                    <input type="button" id="refresh_btn" class="refresh_btn" value="" />
                </td>
                <td class="TopBarRbg" align="center">
                    <input type="button" class="help_btn" value="" />
                </td>
                <td class="TopBarRbg" align="center">
                    <asp:Button ID="exit_btn" runat="server" title="Exit" OnClientClick='return window.confirm("Are You Sure To LogOut?")'
                        OnClick="exit_btn_Click" />
                </td>
                <td width="6">
                    &nbsp;
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
